package Class.Advance.Inherit.Test.Employee;

public class Employee {
    String workId;
    String name;
    int salary;

    public Employee() {
    }

    public Employee(String workId, String name, int salary) {
        this.workId = workId;
        this.name = name;
        this.salary = salary;
    }

    public String getWorkId() {
        return workId;
    }

    public void setWorkId(String workId) {
        this.workId = workId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSalary() {
        return salary;
    }

    public void setSalary(int salary) {
        this.salary = salary;
    }

    public String toString() {
        return "Employee{workId = " + workId + ", name = " + name + ", salary = " + salary + "}";
    }
}
